<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>启动分享屏幕</title>
    <script type="text/javascript" src="./jquery-1.9.1.js"></script>
    <script type="text/javascript">
        /*var state = 1;
        function startstop() {
            if(state == 1){
                state = 0;
                console.info("start");
            }else if(state == 0){
                state = 1;
                console.info("stop");
            }
            $.ajax({
                url:"/sse/capturestartstop",
                dataType:"json",
                async:true,
                data: {"state":state},
                type:"GET",
                success:function(req){
                    console.info("调用成功");
                    console.info(req.success);
                },
                error:function(){
                    console.info("调用失败");
                }
            });
        }*/
    </script>
</head>
<body>
    <!--<button id="startstop" onclick="startstop()">启动/停止</button>-->
</body>
</html>